From: Daniel Friesen Date: Sun, 1 Jun 2008 23:35:42 +0000 (+0000) Subject: Solved bug 14263, showing a diff on revert. X-Git-Tag: 1.31.0-rc.0~47251 X-Git-Url: http://git.cyclocoop.org//%22http:/%22.attribut_html%28%24lesurls%5B%24numero%5D%29.%22/%22?a=commitdiff_plain;h=6adc4190c59730076c5e409e30ffd03afcbf38ab;p=lhc%2Fweb%2Fwiklou.git Solved bug 14263, showing a diff on revert. --- diff --git a/RELEASE-NOTES b/RELEASE-NOTES index 67e3b2b9e9..472b27f864 100644 --- a/RELEASE-NOTES +++ b/RELEASE-NOTES @@ -131,6 +131,7 @@ it from source control: http://www.mediawiki.org/wiki/Download_from_SVN * New layout for Special:Specialpages. Restricted pages are marked but not separated from other pages in their group. And the page uses css rather than tables to create a column layout which grades well in all sizes of browsers. +* (bug 14263) Show a diff of the revert on rollback notification page. === Bug fixes in 1.13 === diff --git a/includes/Article.php b/includes/Article.php index 959924f5fd..cc4418776d 100644 --- a/includes/Article.php +++ b/includes/Article.php @@ -2611,6 +2611,8 @@ class Article { . $wgUser->getSkin()->userToolLinks( $target->getUser(), $target->getUserText() ); $wgOut->addHtml( wfMsgExt( 'rollback-success', array( 'parse', 'replaceafter' ), $old, $new ) ); $wgOut->returnToMain( false, $this->mTitle ); + $de = new DifferenceEngine( $this->mTitle, $current->getId(), 'next', false, true ); + $de->showDiff(); }